package com.javaclimb.accounting.dao;

import com.javaclimb.accounting.po.FlowBack;
import com.javaclimb.accounting.vo.CardVo;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;
@Repository
public interface  FlowDao {
    //得到充值提现流水
     List<String> getTradeFlowById(long userAccId, String type, Date startTime, Date endTime, String key,
                                   String userReal, int pageNum, int pageSize);

    //得到转账流水
     List<String> getTransferFlow(long userAccId, String type, Date startTime, Date endTime, String key,
                                  String userReal, int pageNum, int pageSize);
    //得到流水
     List<FlowBack> getAllFlow(long userAccId, String userName, String type, Date startTime, Date endTime, String key,
                               String userReal, int pageNum, int pageSize);
     //得到总条数
      int getTotalNumber(long userAccId, String userName, String type, Date startTime, Date endTime, String key,
                         String userReal, int pageNum, int pageSize);
     //得到银行卡号和银行名字
      CardVo getCardById(long cardId);

}
